﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace YFrameWork.RunTime
{
    /// <summary>
    /// 界面逻辑基类
    /// </summary>
    public interface IUIForm
    {
        /// <summary>
        /// 第一次生成
        /// </summary>
        /// <param name="Obj"></param>
        void Init(object Obj,bool hide);
        /// <summary>
        /// 每次打开的时候
        /// </summary>
        /// <param name="obj"></param>
        void Open(object obj);
        /// <summary>
        /// 关闭时
        /// </summary>
        /// <param name="obj"></param>
        void Close(object obj);
    }
}